html, body,
h1, h2, h3, h4, h5,
p, div, ul, ol{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

ul li, ol li{
    list-style-type: none;
}

html, body{
    background-color: #ccc;
    font-size: 14px;
    color: #333;
}


#header{
    min-width: 1000px;
    width: 100%;
    background-color: #399dd6;
    height: 100px;
    display: block;
    color: #fff;
    border-bottom: 1px solid #fff;
}

#navigation{
    min-width: 1000px;
    width: 100%;
    display: block;
    background-color: #f2f2f2;
}

#wrapper{
    width: 100%;
    min-width: 1000px;
    min-height: 400px;
    background-color: #fff;
    padding: 10px 0;
}

#footer{
    min-width: 1000px;
    width: 100%;
    display: block;
    background-color: #367fa9;
    color: #fff;
}

.content{
    width: 950px;
    padding: 5px;
    margin: 0 auto;
}


#wrapper .content #left-content{
    width: 300px;
    display: block;
    float: left;
    border: 1px solid #f2f2f2;
}
#wrapper .content #right-content{
    margin-left: 10px;
    width: 630px;
    display: block;
    float: left;
    min-height: 30px;
}



table{
    border-collapse: collapse;
    width: 100%;
}
table td{
    height: 30px;
}

.clear{
    clear: both;
}

button{
    background-color: #367fa9;
    color: #fff;
    border: none;
    padding: 5px;
    cursor: pointer;
}

button:hover{
    background-color: #0a6aa1;
}

button.button-red{
    background-color: #8b0000;
}

button.button-red:hover{
    background-color: red;
}

button:disabled{
    background-color: #ccc !important;
    color: #555 !important;
}


fieldset{
    border: 1px solid #ccc;
}

/* scrollbar */
/* Let's get this party started */
/*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
*//* Track *//*
::-webkit-scrollbar-track {

}

*//* Handle *//*
::-webkit-scrollbar-thumb {
    background: #E6E6E6;
}

::-webkit-scrollbar-thumb:hover {
    background: #cadce3;
}*/
/* scrollbar*/



table.table-views td{
    border: 1px solid #ccc;
    padding: 2px;
}

table.table-views td.td-button{
    text-align: center;
    cursor: pointer;
}

table.table-views td.td-button-red:hover{
    color: #8b0000;
}

table.table-views tr.highlight{
    background-color: #ffff00;
}

table.table-views thead td{
    text-align: center;
    font-weight: bold;
    background-color: #f2f2f2;
}

ul.large-menu{

}

ul.large-menu li{
    margin: 20px;
    font-size: 26px;
    background-color: #f2f2f2;
}

ul.large-menu li .fa{
    font-size: 50px;
}

ul.large-menu li a{
    color: #367fa9;
    display: block;
    padding: 20px;
}

.table-views td span.td-icon,
.table-views td a{
    color: #0a6aa1;
    margin: 0 5px;
    cursor: pointer;
}
.table-views td span.td-icon:hover,
.table-views td a:hover{
    color: #8b0000;
}

/*===============Header================*/
#header .sitename2{
    font-size: 4em;
}

#header a{
    color: #fff;
}

/*==============Navigation=====================*/
#navigation > .content{
    padding: 0;
}
#navigation .nav li{
    cursor: pointer;
    display: inline-block;
}

#navigation .nav a{
    display: block;
    color: #367fa9;
    padding: 5px 10px;

    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#navigation .nav a:hover{
    background-color: #367fa9;
    color: #fff;

    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}



/*============Tree======================*/

.jstree-node .jstree-anchor .tree-folder:before{
    content: "\f07b";
}

.jstree-node .jstree-anchor .tree-file:before{
    content: "\f15b";
}
.jstree-node .jstree-anchor .tree-drive:before{
    content: "\f0f2";
}

.jstree-open .jstree-anchor .tree-folder:before{
    content: "\f07c";
}

.jstree-closed .jstree-anchor .tree-folder:before{
    content: "\f07b";
}


/*=========================overlay===========================*/
#overlay{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999999;
    background-color: rgba(0,0,0,0.6);
    display: none;
}

#overlay .overlay-container{
    width: 100%;
    height: 100%;
}

#overlay .overlay-container td{
    vertical-align: middle;
    text-align: center;
}

#overlay #overlay-content{
    width: 500px;
    height: 300px;
    background-color: #ffffff;
    margin: auto;
    box-shadow: 0 0 5px #000;
    position: relative;
    display: none;
}

#overlay #overlay-content #overlay-close{
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 20px;
    background-color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    cursor: pointer;
}

/*==========Popup message=====================*/
#popup-message{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999999;
    background-color: transparent;
    display: none;
}

#popup-message .popup-container{
    width: 100%;
    height: 100%;
    background-color: transparent;
}

#popup-message .popup-container td{
    text-align: center;
    vertical-align: middle;
    background-color: transparent;
}

#popup-message #popup-content{
    min-width: 100px;
    max-width: 300px;
    background-color: #fff;
    margin: 0 auto;
    box-shadow: 0 2px 2px #ccc;
    position: relative;
    border: 1px solid #f2f2f2;
}
#popup-message #popup-content .popup-title{
    background-color: #f57e08;
    color: #fff;
    padding: 4px;
}

#popup-message #popup-content .popup-close{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 13px;
    text-align: center;
    background-color: transparent;

    -webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
    color: #fff;
}

#popup-message #popup-content .popup-close:hover{
    background-color: #fff;
    -webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
    color: #333;
}

#popup-message #popup-content .popup-close .fa{
    margin: auto;
}

#popup-message #popup-content .message-icon{
    font-size: 30px;
    color: #f57e08;
}


#popup-message #popup-content .popup-content-content{
    padding: 5px;
    text-align: left;
}

/*==================Trang mat hang======================*/
#right-content .right-content-title{
    padding: 5px;
    border-bottom: 1px solid #f2f2f2;
}

#right-content .right-content-content{
    padding: 5px;
}

#right-content .right-content-content .table-tools input[type=text]{
    width: 100%;
}

#right-content .right-content-content .table-tools textarea{
    width: 100%;
    height: 80px;
    resize: none;
}

#button-new{

}

#button-save{
    margin-left: 10px;
}

#button-delete, #button-delete-loading{
    float: right;
}

#button-delete-loading{
    margin-top: 5px;
    margin-right: 5px;
    display: none;
}


h2.nhaphang-info,
h2.nhaphang-load-more,
h2.chinhgia-load-more{
    border: 1px solid #ccc;
    text-align: center;
    padding: 20px 0;
    background-color: #f2f2f2;
}
h2.nhaphang-load-more,
h2.chinhgia-load-more{
    cursor: pointer;
}

#table-nhaphang td.so-thu-tu,
#table-nhaphang td.don-vi-tinh,
#table-nhaphang td.xoa-dong,
#table-nhaphang td.so-luong{
    text-align: center;
}

#table-nhaphang td.so-luong input{
    width: 190px;

}

#table-nhaphang td.xoa-dong:hover{
    color: #8b0000;
    cursor: pointer;
}

#table-nhaphang td.ten-mat-hang{
    padding-left: 5px;
}